package com.webemail.sys.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.webemail.sys.model.SysLabel;

@Component
public interface LabelService {
	int insert(SysLabel temp);

	int delete(long id, long userId);

	int update(SysLabel temp);

	SysLabel get(long id, long userId);
	
	SysLabel get(long userId,String labelName);

	List<SysLabel> list(long userId);
}
